import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

// router.beforeEach((to,from,next)=>{
//   console.log('beforeEach')
//   next()
// })
// router.beforeResolve((to,from,next)=>{
//   console.log('beforeResolve')
//   next()
// })
// router.afterEach(()=>{
//   console.log('afterEach')
// })

export default router
